package com.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName: ConfigServerApplication2
 * @Author: ZhangYue26
 * @Description: Spring Cloud Config Server 集群服务启动类-2
 * @Date: 2021-01-15
 */
@EnableEurekaClient
@SpringBootApplication
@EnableConfigServer //开启SpringCloudConfig服务支持
public class ConfigServerApplication2 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication2.class, args);
    }
}
